@extends('admin.layout')

@section('content')
      <div class="admin_tab_cont" style="display:block;">
       <div class="" style="height:500px;">
           <table class="table fl">
            <tr>
             <th>用户名</th>
             <th>邮箱</th>
             <th>权限</th>
             <th>权力</th>
             <th>操作</th>
            </tr>
            @foreach($users as $k=>$v)
            <tr>
             <td class="center">{{$v->name}}</td>
             <td class="center">{{$v->email}}</td>
             <td class="center">{{$v->perm_num}}</td>
             <td class="center">{{$v->permissions}}</td>
             <td class="center" style="width:20%;"><a href="{{route('clubs.edit',['id'=>$v->id])}}" class="inner_btn">编辑</a><a href="{{route('usermanage.delete',['id'=>$v->id])}}" class="inner_btn">删除</a></td>
            </tr>
            @endforeach
           </table>
       </div>
       <!--左右分栏：右侧栏-->
      </div>
@endsection
